#ifndef HEADER_CUBETEMPO
#define HEADER_CUBETEMPO

#include <SDL/SDL.h>
#include <iostream>
#include <SDL/SDL_image.h>

#include "../glob.h"
#include "PlateForme.h"


class CubeTempo : public PlateForme{

public :
	CubeTempo(SDL_Rect p , SDL_Surface *ecran);
	CubeTempo(SDL_Rect p , SDL_Surface *ecran , int tempDePresence);
	bool reagit(Pion *p);
	void afficher();
	bool doitDisparaitre();

private :
	double tempPremierAffichage;
	double tempsAvanDispatraitre ;
};

#endif
